import request from '@/utils/request'

// 查询题目信息列表
export function listSurveys(query) {
  return request({
    url: '/publicity/surveys/list',
    method: 'get',
    params: query
  })
}

// 查询题目信息详细
export function getSurveys(id) {
  return request({
    url: '/publicity/surveys/' + id,
    method: 'get'
  })
}